package com.bj58.mis.apm.collector;

import com.bj58.mis.apm.client.core.BaseCollectLog;

public interface Collector<Entity extends BaseCollectLog> {
    void setType(String type);
    /**
     * 采集器类型
     * @return
     */
    String getType();


    void collect(Entity entity);
}
